<template>
  <span>{{ type }}</span>
</template>
<script>
export default {
  data() {
    return { type: null }
  },
  beforeMount() {
    switch (this.params.value) {
      case 0:
        this.type = '全局级别'
        break
      case 1:
        this.type = '部门级别'
        break
      case 2:
        this.type = '经销商级别'
        break
      case 3:
        this.type = '供应商级别'
        break
      default:
        this.type = '个人级别'
        break
    }
  }
}
</script>
